package com.z6school.manage.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**菜单表*/
@Data
@Accessors(chain = true)
@TableName("menus")
public class Menus implements Serializable {
    private static final long serialVersionUID = 384829155154200662L;
    /**菜单ID*/
    @TableId(type = IdType.AUTO)
    private Integer id;
    /**菜单名称*/
    private String name;
    /**请求路径*/
    private String url;
    /**类型*/
    private String type;
    /**上级ID*/
    private String parentId;
    /**权限*/
    private String permission;
    /**创建时间*/
    private Date createdTime;
    /**修改时间*/
    private Date modifiedTime;
}
